<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue v-show 指令</title>
</head>
<body>
<div id="app">
    <div  v-show="status">Show</div>
    <div  v-show="!status">Hide</div>


</div>
</body>
<script type="module">

    import { createApp, ref } from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
    const app = createApp({
        setup(){
            let status = true

            return {status}
        }
    })

    app.mount("#app")
</script>
</html>